Skip to content

Conversation

@Pikolosan
Copy link
Contributor

Description

This Pull Request resolves the naming inconsistency between the notification script and its associated workflow file. Aligning these names makes the repository easier to maintain and navigate.

Changes

  • Renamed .github/scripts/p0_issues_notify_team.js.github/scripts/bot-p0-issues-notify-team.js
  • Updated the script reference within .github/workflows/bot-p0-issues-notify-team.yml
  • Added a corresponding entry to CHANGELOG.md under the Changed section

Related Issue

Fixes #1338

Checklist

  • I have been assigned to the issue (using /assign).
  • I have added a changelog entry following the required format.
  • All commits are GPG signed (-S) and include the DCO sign-off (-s).
  • The script name change has been verified in the workflow YAML file.

@coderabbitai
Copy link

coderabbitai bot commented Jan 4, 2026

📝 Walkthrough

Walkthrough

The pull request renames a GitHub Actions script from p0_issues_notify_team.js to bot-p0-issues-notify-team.js to align the script filename with its calling workflow. References in the workflow file are updated accordingly, and a changelog entry documents the change.

Changes

Cohort / File(s) Summary
Workflow Script Path Updates
.github/workflows/bot-p0-issues-notify-team.yml
Updated two references to the script path from .github/scripts/p0_issues_notify_team.js to .github/scripts/bot-p0-issues-notify-team.js
Changelog Entry
CHANGELOG.md
Added entry under Unreleased > Changed documenting the script rename for improved maintainability

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Pre-merge checks

✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: renaming the notification script to align with the workflow filename for better maintainability.
Description check ✅ Passed The description clearly explains the naming inconsistency, lists all changes made, references the related issue, and confirms completion of required checklist items.
Linked Issues check ✅ Passed All requirements from issue #1338 are met: script renamed to bot-p0-issues-notify-team.js, workflow references updated, changelog entry added, and completion of assignment, signing, and verification steps confirmed.
Out of Scope Changes check ✅ Passed All changes are directly scoped to the objectives: script renaming, workflow reference updates, and changelog entry with no extraneous modifications.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f0e44d3 and 54c0a27.

📒 Files selected for processing (3)
  • .github/scripts/bot-p0-issues-notify-team.js
  • .github/workflows/bot-p0-issues-notify-team.yml
  • CHANGELOG.md
🧰 Additional context used
📓 Path-based instructions (1)
.github/workflows/**/*

⚙️ CodeRabbit configuration file

.github/workflows/**/*: Review workflows as security-sensitive infrastructure.

A good workflow is small, focused, and boring.
If a workflow is clever, generic, or overly flexible, it is a risk.


PRIORITY 0 — ABSOLUTE REQUIREMENTS

  • All third-party actions MUST be pinned to full commit SHAs, similar to other workflows.
  • permissions: MUST be explicitly declared and minimally scoped.
  • Workflows MUST behave safely when executed from forks.
  • YAML MUST orchestrate steps, not implement business logic.
  • Any workflow that mutates GitHub state MUST support dry-run mode.
  • Dry-run behavior must be explicit and visible in logs.
  • Workflows MUST NOT modify repository source code outside .github/.

PRIORITY 1 — SCOPE, FOCUS & RESTRAINT

  • The title of each workflow must be relevant, match similar naming schemes, and match its script filename.
  • Each workflow MUST have a single, clearly defined objective and SHOULD document this in a top-level comment.
  • Flag workflows that:
    • Attempt to be generic “frameworks”
    • Include speculative or future-facing logic
    • Perform actions unrelated to the stated goal
  • Over-abstraction and excess flexibility are maintenance risks.

PRIORITY 2 — INPUT HARDENING

  • Treat ALL GitHub event data as potentially hostile input, including:
    • issue titles, bodies, and comments
    • labels, usernames, branch names
  • Free-form user input MUST NOT be passed directly into:
    • shell commands
    • gh CLI arguments
    • Node.js exec / spawn calls
  • Require strict allowlists or exact string matches.
  • Flag any use of:
    • eval or bash -c
    • backticks or $(...) with user-controlled input

------------------...

Files:

  • .github/workflows/bot-p0-issues-notify-team.yml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: Codacy Static Code Analysis
🔇 Additional comments (1)
CHANGELOG.md (1)

84-84: LGTM! Changelog entry accurately documents the script rename.

The changelog entry correctly describes the maintenance improvement and includes the appropriate issue reference.

@codecov
Copy link

codecov bot commented Jan 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1343   +/-   ##
=======================================
  Coverage   92.29%   92.29%           
=======================================
  Files         139      139           
  Lines        8515     8515           
=======================================
  Hits         7859     7859           
  Misses        656      656           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@exploreriii exploreriii merged commit 5ca07c6 into hiero-ledger:main Jan 4, 2026
21 checks passed
@exploreriii
Copy link
Contributor

Excellent work! Congratulations!!

parvninama pushed a commit to parvninama/hiero-sdk-python that referenced this pull request Jan 4, 2026
@Pikolosan
Copy link
Contributor Author

Glad I could contribute! Thanks for the guidance on my first PR
I'll keep an eye out for more issues I can help with in the future.

@exploreriii
Copy link
Contributor

Hi @Pikolosan if you are ready for a slightly more difficult challenge, i can recommend: #1337?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Good First Issue]: Rename .github/scripts/p0_issues_notify_team.js to match workflow

2 participants